Update offramp edit mode#119
Conversation
|
🚀 Preview has been deployed.
|
There was a problem hiding this comment.
Pull request overview
Updates the Crypto Off-ramp documentation to reflect new source.editMode behavior and defaults for the widget “edit mode” configuration.
Changes:
- Replaces previous
editModevalues withonly-asset-and-network(default) andnot-editable, and marks older values as deprecated. - Updates the bootstrap token example to use the new default
editMode.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
AndreiaF87
left a comment
There was a problem hiding this comment.
LGTM
Tested in Enterprise
Widget id (off-ramp) to use in restAPI: 0f17e3e7-e269-4270-a5c6-1715b76f17da
User to did all orders: andreia.fernandes+fr+enter@uphold.com
Aqui estão todos os testes que fizeste nesta conversa:
editMode — Offramp
- only-amount (deprecated) ✅
Flow runs without errors
USD (amount) editable
XRP (amount) not editable
Asset and network not editable (only-amount is ignored)
- all-editable (deprecated) ✅
Flow runs without errors
USD (amount) editable
XRP (amount) not editable
Asset and network editable
- only-asset-and-network (new default) ✅
Flow runs without errors
USD (amount) editable
XRP (amount) not editable
Asset and network editable
- not-editable (new) ✅
Flow runs without errors
USD (amount) editable
XRP (amount) not editable
Asset and network not editable (no chevron or does not allow changes)
Description
Update offramp edit mode
Related issues
https://uphold.atlassian.net/browse/SWY-3684